import Mock from 'mockjs'

//模拟后端注册的请求
Mock.mock('http://127.0.0.1:80/api/user/register', {
    "status": 0,
    "data": {
        "message": "ok"
    }
});

//模拟后端登录的请求
Mock.mock("http://127.0.0.1:80/api/user/login", {
    "status": 0,
    "data": {
        "message": "用户名或者密码错误"
    }
});

